﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SqlSugar;

namespace WucCloud.Entity
{
    /// <summary>
    /// 机构组织信息实体
    /// </summary>
    [SugarTable("Sys_Organize","机构组织信息表")]
    public class OrganizeInfoEntity :BaseEntity<string>
    {
        /// <summary>
        /// 构造函数
        /// </summary>
        public OrganizeInfoEntity()
        {

        }

        /// <summary>
        /// 机构组织父级Id
        /// </summary>
        [SugarColumn(IsNullable = true, ColumnName = "ParentId", ColumnDataType = "nvarchar(50)", ColumnDescription = "机构组织父级Id")]
        public string ParentId { get; set; }

        /// <summary>
        /// 层级
        /// </summary>
        [SugarColumn(IsNullable = true, ColumnName = "Layer", ColumnDescription = "层级")]
        public int? Layer { get; set; }

        /// <summary>
        /// 机构组织编码
        /// </summary>
        [SugarColumn(IsNullable = true, ColumnName = "EnCode", ColumnDataType = "nvarchar(50)", ColumnDescription = "机构组织编码")]
        public string EnCode { get; set; }
        /// <summary>
        /// 机构组织名称
        /// </summary>
        [SugarColumn(IsNullable = true, ColumnName = "OrganizeName", ColumnDataType = "nvarchar(50)", ColumnDescription = "机构组织名称")]
        public string OrganizeName { get; set; }
    }
}
